package com.xucranger.ojapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xucranger.ojapi.enity.DTO.CodeforcesDTO;
import com.xucranger.ojapi.enity.DTO.CodeforcesQueryDTO;
import com.xucranger.ojapi.enity.DTO.RankDTO;
import com.xucranger.ojapi.enity.DTO.common.PageResultDTO;
import com.xucranger.ojapi.enity.DTO.common.ResponseDTO;
import com.xucranger.ojapi.enity.VO.CareeVO;
import com.xucranger.ojapi.enity.VO.CodeforcesVO;
import com.xucranger.ojapi.enity.VO.RankVO;
import com.xucranger.ojapi.enity.domain.Codeforces;

/**
* @author xucranger
* @description 针对表【codeforces】的数据库操作Service
* @createDate 2022-08-16 10:18:51
*/
public interface CodeforcesService extends IService<Codeforces> {



    ResponseDTO<PageResultDTO<CodeforcesVO>> queryContestById(CodeforcesQueryDTO queryDTO);

    ResponseDTO<PageResultDTO<CodeforcesVO>> queryStudentByContestname(CodeforcesQueryDTO queryDTO);

    ResponseDTO<PageResultDTO<CodeforcesVO>> queryStudentByContestname(String contestname);

    ResponseDTO<CareeVO> queryCareeByCfid(String Cfid);

    ResponseDTO<PageResultDTO<RankVO>> rank(RankDTO rankDTO);
}
